package extendsexamp;

public class VIPUniversity extends University {
   @Override
   void enter(){
       if(math+english+chinese+sport>=290){
           double x;
           x=math+english+chinese+sport;
           System.out.println("你被录取"+x);
       }else{
           System.out.println("没有被录取");
       }

    }
}
